package com.cfuture08.home.action.role;

import com.cfuture08.eweb4j.mvc.action.ActionSupport;
import com.cfuture08.eweb4j.orm.dao.DAO;
import com.cfuture08.home.vo.Role;

public class ShowRole extends ActionSupport {
	private long id;

	public String execute() {
		Role rol = new Role();
		rol.setId(id);
		this.request.setAttribute("role", DAO.selectOne(rol));
		return SUCCESS;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
}
